package com.wrap.mango.lowprice;

import javax.xml.bind.annotation.XmlRootElement;

import com.util.CommonUtils;

@XmlRootElement(name = "lowprice-request")
public class LowPriceRequest {

    private String depCity;
    private String arrCity;
    private String startDate;
    private String endDate;

    public com.mangocity.airticket.b2b.webservice.LowPriceRequest convertLowPriceRequest() {
        return new com.mangocity.airticket.b2b.webservice.LowPriceRequest(
                CommonUtils.code2city(depCity), CommonUtils.city2code(arrCity), 
                startDate, endDate);
    }

    public String getDepCity() {
        return depCity;
    }

    public void setDepCity(String depCity) {
        this.depCity = depCity;
    }

    public String getArrCity() {
        return arrCity;
    }

    public void setArrCity(String arrCity) {
        this.arrCity = arrCity;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

}
